package com.lwj.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Team {
    private Integer id;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private String name;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date deleteTime;

    private Integer agreementId;

    private Integer size;

    private String status;

    private String githubAddress;

    private String vote;

    private String alipay;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(Date deleteTime) {
        this.deleteTime = deleteTime;
    }

    public Integer getAgreementId() {
        return agreementId;
    }

    public void setAgreementId(Integer agreementId) {
        this.agreementId = agreementId;
    }

    public Integer getSize() {
        return size;
    }

    public void setSize(Integer size) {
        this.size = size;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status == null ? null : status.trim();
    }

    public String getGithubAddress() {
        return githubAddress;
    }

    public void setGithubAddress(String githubAddress) {
        this.githubAddress = githubAddress == null ? null : githubAddress.trim();
    }

    public String getVote() {
        return vote;
    }

    public void setVote(String vote) {
        this.vote = vote == null ? null : vote.trim();
    }

    public String getAlipay() {
        return alipay;
    }

    public void setAlipay(String alipay) {
        this.alipay = alipay == null ? null : alipay.trim();
    }
}